package com.lhc.nacosprovider.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author liuchaoqun
 * @date 2022/6/17
 * @Description 菜单
 */
@TableName("tb_menu")
@Component
@Data
public class Menu {

    @TableId
    private Long id;

    private String name;

    private Long parentId;

}
